<?php

namespace Xin\ThinkPHP\Util;

use think\facade\Cache;

class QueueUtil
{
    /**
     * 重启队列
     * @return void
     */
    public static function restart()
    {
        Cache::set('think:queue:restart', now()->getTimestamp());
    }
}